package com.clinic.entity.gui;

import org.apache.commons.lang.StringUtils;

public class GuiDrugBrand {
	
	private long brandId;
	private String name;
	
	public boolean isAvailable() {
		return StringUtils.isNotBlank(name) && brandId > 0;
	}
	
	public long getBrandId() {
		return brandId;
	}
	
	public void setBrandId(long brandId) {
		this.brandId = brandId;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
}
